package xyz.hubery.mappers;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import xyz.hubery.domain.TurnoverOrder;
import xyz.hubery.dto.TradeDTO;
import xyz.hubery.mapper.TurnoverOrderMapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface TurnoverOrderMappers {

    TurnoverOrderMappers INSTANCE = Mappers.getMapper(TurnoverOrderMappers.class);

    List<TradeDTO> toDto(List<TurnoverOrder> list);

}
